import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { GridHouseholdComponent } from './grid-household/grid-household.component';
import { GridListComponent } from './grid-list/grid-list.component';

const routes: Routes = [
	{
		path: 'grid-list/:id',
		component: GridListComponent,
	},
	{
		path: 'grid-household',
		component: GridHouseholdComponent,
	}
];

@NgModule({
	imports: [RouterModule.forChild(routes)],
	exports: [RouterModule]
})
export class GridRoutingModule { }
